package com.jhws.sys.appUpgrade.bo;

import javax.persistence.*;

@Table(name = "app_update_qr")
@Entity
public class AppUpdateQR {
    @Id
    @Column(name = "id")
    private String id; // id
    @Column(name = "app_name")
    private String appName; //应用名称
    @Column(name = "corporate_name")
    private String corporateName; //公司名称
    @Column(name = "app_ioc")
    private String appIoc; //应用图标
    @Column(name = "android_uri")
    private String androidUri; //android下载地址
    @Column(name = "ios_uri")
    private String iosUri; //ios下载地址
    @Transient
    private String appIocUrl;//图标完整地址,不需要存入数据库
    @Column(name = "description")
    private String description; //描述

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getCorporateName() {
        return corporateName;
    }

    public void setCorporateName(String corporateName) {
        this.corporateName = corporateName;
    }

    public String getAppIoc() {
        return appIoc;
    }

    public void setAppIoc(String appIoc) {
        this.appIoc = appIoc;
    }

    public String getAppIocUrl() {
        return appIocUrl;
    }

    public void setAppIocUrl(String appIocUrl) {
        this.appIocUrl = appIocUrl;
    }

    public String getAndroidUri() {
        return androidUri;
    }

    public void setAndroidUri(String androidUri) {
        this.androidUri = androidUri;
    }

    public String getIosUri() {
        return iosUri;
    }

    public void setIosUri(String iosUri) {
        this.iosUri = iosUri;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "AppUpdateQR{" +
                "id='" + id + '\'' +
                ", appName='" + appName + '\'' +
                ", corporateName='" + corporateName + '\'' +
                ", appIoc='" + appIoc + '\'' +
                ", androidUri='" + androidUri + '\'' +
                ", iosUri='" + iosUri + '\'' +
                ", appIocUrl='" + appIocUrl + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
